// pages/my/getcashdetail/getcashdetail.js
Page({
  data: {
    userInfo: {},
    detail: {}
  },
  onLoad: function (options) {
    this.setData({
      userInfo: wx.getStorageSync("userInfo")
    });
    getApp().globalData.http.getCashDetail({
      id: options.id
    }).then(res => {
      this.setData({
        detail: res.data
      });
    });
  },
})